<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<!-- Meta, title, CSS, favicons, etc. -->
<meta charset="utf-8">
<title></title>
<%
	String path = request.getContextPath();
	// 获得本项目的地址(例如: http://localhost:8080/MyApp/)赋值给basePath变量 
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	// 将 "项目路径basePath" 放入pageContext中，待以后用EL表达式读出。 
	pageContext.setAttribute("basePath", basePath);
	//out.write(basePath);
%>

<!-- Bootstrap core CSS -->
<link href="<%=basePath%>bootstrap3/css/bootstrap.min.css"
	rel="stylesheet">
<link href="data:text/css;charset=utf-8,"
	data-href="<%=basePath%>bootstrap3/css/bootstrap-theme.min.css"
	rel="stylesheet" id="bs-theme-stylesheet">
<link href="<%=basePath%>bootstrap3/css/docs.min.css" rel="stylesheet">

<script src="<%=basePath%>bootstrap3/js/jquery.min.js"></script>

<script src="<%=basePath%>bootstrap3/js/bootstrap.min.js"></script>

<script src="<%=basePath%>bootstrap3/js/docs.min.js"></script>

<script src="<%=basePath%>bootstrap3/js/ie10-viewport-bug-workaround.js"></script>
<style type="text/css">
#head {
	height: 100px;
	width: 100%;
	background: #656565;
	margin-left: auto;
	margin-right: auto;
}
</style>
<script>
	$(function() {
		var addo = $("#addSuggest")[0].value;
		if (addo != null && addo != "") {
			alert(addo);
		}
	});
</script>
</head>

<body>
	<input type="hidden" id="addSuggest"
		value="${sessionScope.addSuggest }">
	<div id="head">
		<div
			style="height: 100%; width: 50%; margin-left: auto; margin-right: auto;">
			<font color="#9ACFEA" size="7">郴电国际欢迎你的来信 </font><br /> <font
				color="#9ACFEA" size="5">请尽情的说出你的建议</font>
		</div>
	</div>
	<form action="<%=basePath%>netuser/userAddSuggest.action">
		<div style="height: 30px; width: 100%;"></div>
		<div align="center">
			<div class="list-group" style="width: 50%;" align="left">
				<label for="exampleInputEmail1"><font size="4"
					color="#003333">你的建议：</font></label><br />
				<textarea id="suggest" name="suggest"
					style="height: 300px; width: 100%;"
					placeholder="请输入的想法和建设性建议,不能超过四千字！"></textarea>
				<div style="height: 30px;"></div>
				<div class="col-md-5"></div>
				<button type="submit" class="btn btn-success">
					<font size="5"><span class="glyphicon glyphicon-hand-up"></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;提&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;交</font>
				</button>
			</div>
		</div>
	</form>
</body>

</html>